package com.hkbigdata.sybx.service.ipml;

import com.hkbigdata.sybx.bean.CommunityServicePolicy;
import com.hkbigdata.sybx.mapper.CommunityServicePolicyMapper;
import com.hkbigdata.sybx.service.CommunityServicePolicyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author liuanbo
 * @creat 2025-06-03-16:30
 * @see 2194550857@qq.com
 */
@Service
public class CommunityServicePolicyServiceImpl implements CommunityServicePolicyService {
    @Autowired
    private CommunityServicePolicyMapper communityServicePolicyMapper;
    @Override
    public List<CommunityServicePolicy> CommunityServicePolicySelect() {
        List<CommunityServicePolicy> communityServicePolicies = communityServicePolicyMapper.selectAll();
        if (communityServicePolicies != null) {
            return communityServicePolicies;
        }
        return null;
    }
}
